import request from '@/utils/request'


//查询考核详情列表
export function businessExamineList(params) {
	return request({
		url: '/business/examine/list',
		method: 'post',
		data: params
	})
}

//新增考核规则
export function businessExamineNew(params) {
	return request({
		url: '/business/examine',
		method: 'post',
		data: params
	})
}

//删除考核规则
export function businessExamineDelete(params) {
	return request({
		// url: '/business/examine/{ids}',
		url: `/business/examine/${params}`,
		method: 'delete',
		data: params
	})
}

//修改考核规则
export function businessExaminePut(params) {
	return request({
		url: '/business/examine',
		method: 'put',
		data: params
	})
}

//获取考核规则详细信息
export function businessExamineGet(params) {
	return request({
		url: `/business/examine/${params}`,
		method: 'get',
		// data:params
	})
}


//分页查询企业信息列表
export function businessEnterpriseList(params) {
	return request({
		url: '/business/enterprise/list',
		method: 'post',
		data: params
	})
}

//新增企业信息
export function businessEnterpriseNew(params) {
	return request({
		url: '/business/enterprise',
		method: 'post',
		data: params
	})
}



//获取企业信息详细信息
export function businessEnterpriseGet(params) {
	return request({
		url: `/business/enterprise/${params}`,
		method: 'get',
		// data:params
	})
}

//删除企业信息
export function businessEenterpriseDelete(params) {
	return request({
		url: `/business/enterprise/${params}`,
		method: 'delete',
		data: params
	})
}

//查询全部企业信息
export function businessEenterpriseAllList(params) {
	return request({
		url: '/business/enterprise/allList',
		method: 'post',
		data: params
	})
}

//修改考核规则
export function businessEnterprisePut(params) {
	return request({
		url: '/business/enterprise',
		method: 'put',
		data: params
	})
}


